package br.edu.fcsl.projetointegrador8periodo;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;

public class Tela_Principal extends Activity {

	private View imgVicente;
	private View imgPrynce;
	private View imgBruno;
	private View imgGlaucia;
	private View imgZe;
	private View imgDavid;
	private View imgDhiego;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_tela__principal);

		imgVicente = (View) findViewById(R.id.imgVicente);
		imgPrynce = (View) findViewById(R.id.imgPrynce);
		imgBruno = (View) findViewById(R.id.imgBruno);
		imgGlaucia = (View) findViewById(R.id.imgGlaucia);
		imgZe = (View) findViewById(R.id.imgZe);
		imgDavid = (View) findViewById(R.id.imgDavid);
		imgDhiego = (View) findViewById(R.id.imgDhiego);

		imgPrynce.setOnClickListener(new OnClickListener() {

			public void onClick(View v) {
				setContentView(R.layout.activity_poster__model);
			}
		});
		imgBruno.setOnClickListener(new OnClickListener() {

			public void onClick(View v) {
				setContentView(R.layout.activity_poster__model);
			}
		});
		imgGlaucia.setOnClickListener(new OnClickListener() {

			public void onClick(View v) {
				setContentView(R.layout.activity_poster__model);
			}
		});
		imgVicente.setOnClickListener(new OnClickListener() {

			public void onClick(View v) {
				setContentView(R.layout.activity_poster__model);
			}
		});
		imgZe.setOnClickListener(new OnClickListener() {

			public void onClick(View v) {
				setContentView(R.layout.activity_poster__model);
			}
		});
		imgDavid.setOnClickListener(new OnClickListener() {

			public void onClick(View v) {
				setContentView(R.layout.activity_poster__model);
			}
		});
		imgDhiego.setOnClickListener(new OnClickListener() {

			public void onClick(View v) {
				setContentView(R.layout.activity_poster__model);
			}
		});

	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.tela__principal, menu);
		return true;
	}

}
